widget: Correct translate_coordinate documentation
authorTimm Bäder <mail@baedert.org>
Fri, 23 Feb 2018 10:34:18 +0000 (11:34 +0100)
committerTimm Bäder <mail@baedert.org>
Fri, 23 Feb 2018 20:57:49 +0000 (21:57 +0100)
We write 0 to dest_x and dest_y nowadays if the two widgets do not have
a common ancestor.

gtk/gtkwidget.c

index e5a857e76767b86a2207fdb1bfbfa3adc4ef4d0a..bcd029473034d6cb35e42cfca9802651b5fcfa17 100644 (file)
@@ -4752,7 +4752,7 @@ gtk_widget_get_origin_relative_to_parent (GtkWidget *widget,
  * operation, both widget must share a common toplevel.
  *
  * Returns: %FALSE if @src_widget and @dest_widget have no common
- *   ancestor. In this case, nothing is stored in
+ *   ancestor. In this case, 0 is stored in
  *   *@dest_x and *@dest_y. Otherwise %TRUE.
  **/
 gboolean